package com.dankegongyu.lib.widget;

import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.util.AttributeSet;

import com.dankegongyu.lib.common.base.layout.BaseLinearLayout;
import com.dankegongyu.lib.common.util.DKLog;

/**
 * @author wupuquan
 * @version 1.0
 * @since 2018/4/9 14:03
 */
public class TestLinearLayout extends BaseLinearLayout{

    public TestLinearLayout(@NonNull Context context) {
        super(context);
        DKLog.e("TestLinearLayout1");
    }

    public TestLinearLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        DKLog.e("TestLinearLayout2");
    }

    @Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();
        DKLog.e("onAttachedToWindow");
    }

    @Override
    protected void onDetachedFromWindow() {
        super.onDetachedFromWindow();
        DKLog.e("onDetachedFromWindow");
    }

    @Override
    public void init(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {

    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void doBusiness() {

    }
}
